package com.teamall.web.sys.db.po;

import com.teamall.framework.dto.AbstractDto;
import org.apache.commons.lang.StringUtils;

public class SysUserPO extends AbstractDto{
	private Integer  userId;
	private Integer  userObjType;
	private Integer  userObjId;
	private String  loginName;
	private String  password;
	private String  headImgUrl;
	private Integer  povertyAttr;
	private String  userName;
	private String  department;
	private String  phoneNum;
	private Integer  townId;
	private Integer  villageId;
	private String  jobTitle;
    public Integer getUserId() {
        return userId;
    }
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    
    public Integer getUserObjType() {
        return userObjType;
    }
    public void setUserObjType(Integer userObjType) {
        this.userObjType = userObjType;
    }

    
    public Integer getUserObjId() {
        return userObjId;
    }
    public void setUserObjId(Integer userObjId) {
        this.userObjId = userObjId;
    }

    
    public String getLoginName() {
        return StringUtils.isBlank(loginName) ? loginName : loginName.trim();
    }
    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }
    
    
    public String getPassword() {
        return StringUtils.isBlank(password) ? password : password.trim();
    }
    public void setPassword(String password) {
        this.password = password;
    }
    
    
    public String getHeadImgUrl() {
        return StringUtils.isBlank(headImgUrl) ? headImgUrl : headImgUrl.trim();
    }
    public void setHeadImgUrl(String headImgUrl) {
        this.headImgUrl = headImgUrl;
    }
    
    
    public Integer getPovertyAttr() {
        return povertyAttr;
    }
    public void setPovertyAttr(Integer povertyAttr) {
        this.povertyAttr = povertyAttr;
    }

    
    public String getUserName() {
        return StringUtils.isBlank(userName) ? userName : userName.trim();
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    
    
    public String getDepartment() {
        return StringUtils.isBlank(department) ? department : department.trim();
    }
    public void setDepartment(String department) {
        this.department = department;
    }
    
    
    public String getPhoneNum() {
        return StringUtils.isBlank(phoneNum) ? phoneNum : phoneNum.trim();
    }
    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }
    
    
    public Integer getTownId() {
        return townId;
    }
    public void setTownId(Integer townId) {
        this.townId = townId;
    }

    
    public Integer getVillageId() {
        return villageId;
    }
    public void setVillageId(Integer villageId) {
        this.villageId = villageId;
    }

    
    public String getJobTitle() {
        return StringUtils.isBlank(jobTitle) ? jobTitle : jobTitle.trim();
    }
    public void setJobTitle(String jobTitle) {
        this.jobTitle = jobTitle;
    }
    
    
}